//
//  YTBeautyHeadView.m
//  YUNT
//
//  Created by 小萌 on 2017/11/14.
//  Copyright © 2017年 梁炜东. All rights reserved.
//

#import "YTBeautyHeadView.h"

@interface YTBeautyHeadView()
@property (weak, nonatomic) IBOutlet UILabel *lbTitle;

@end
@implementation YTBeautyHeadView

- (void)setTitle:(NSString *)title
{
    if (_title != title) {
        _title = title;
    }
    self.lbTitle.text = title;
}
- (IBAction)clickSwitch:(UISwitch *)sender {
    BlockCallWithOneArg(self.handler, @(sender.on));
}

@end
